#include "Application.h"

Application::Application() 
	:
	window(800, 600)
{

	lines.Initialize(window.Gfx());

}

Application::~Application() {
}

VOID Application::Go() {
	while (TRUE) {
		if (FALSE == window.Messages()) {
			return;
		}

		DoFrame();
	}
}

VOID Application::DoFrame() {

	window.Gfx().BeginFrame(100, 0, 0);

	lines.Draw(window.Gfx());

	window.Gfx().EndFrame();
}
